package com.atguigu.springcloud.dao;

import com.atguigu.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.mybatis.spring.annotation.MapperScan;

@MapperScan
@Mapper
public interface PaymentDao {
   public int create(Payment payment);
   public Payment getPaymentById(@Param("id") long id);
}
